﻿.foo {} /* W3C CSS validator likes CSS files to start with a class rather than a comment. Soooooo.... */

/* This style sheet is intended to contain OFTEN CHANGED rules used when the DetailsView control adapter is enabled. */
/* See FormViewExample.css for comparison of similar rules. */

#SampleDetailsView
{
    width:20em;
    position:relative;
    border:solid 3px #959595;
    padding:6px;
}

/* Please refer to FormViewExample.css for comments on these rules. */
.PrettyDetailsView div.AspNet-DetailsView-Header
{
    position:relative;
    background: #E9F5DA;
    font-weight: bold;
    text-align:center;
    color:#465239;
    text-transform:uppercase;
    padding:10px 0;
    font-size:1.2em;
}

.PrettyDetailsView div.AspNet-DetailsView-Data
{
    margin:10px 0;
}

/* Each field defined for the DetailsView generates an individual list item (li) in the rendered HTML. */
/* Each li effectively is a row in a table (though no table tag is generated by the adapter). */
.PrettyDetailsView div.AspNet-DetailsView-Data li
{
    padding: 3px 0 2px 4px;
    color: #333333;
    background-color: White;
    vertical-align: middle;
    border-top: solid 1px #E7E7E7;
    border-right: solid 1px #D2D2D2;
    border-bottom: solid 1px #D2D2D2;
    border-left: solid 1px #E7E7E7;
    margin:2px 0;
    min-height:1.4em; /* ADDED for Firefox */
}

/* Every other field is marked as being "Alternate." */
/* This allows you to define an "alternating row" style (though the adapter doesn't actually generate an HTML table). */
.PrettyDetailsView div.AspNet-DetailsView-Data li.AspNet-DetailsView-Alternate
{
    background:url(bg-fade-light-short.png) repeat-x bottom;
}

/* This corresponds to the HeaderText attribute of an <asp:BoundField>. */
.PrettyDetailsView span.AspNet-DetailsView-Name
{
    position:absolute;
    top: 3px;
    left: 0;
    color:#737373;
}

/* This corresponds to the DataField attribute of an <asp:BoundField>. */
.PrettyDetailsView span.AspNet-DetailsView-Value
{
    margin-left: 8em; 
    font-weight: bold;
}

/* --------------------------------------------------------------------------------------------------- */
/* Please refer to FormViewExample.css for comments on these rules. */
.PrettyDetailsView .AspNet-DetailsView-Pagination
{
    color: #F7F6F3;
    background: #E9F5DA;
    font-weight: bold;
    text-align:center;
    color:#465239;
    text-transform:uppercase;
    padding:10px 0;
    width:100%;
    position:relative;
    clear:both;
}

.PrettyDetailsView .AspNet-DetailsView-ActivePage
{
    padding:2px;
    color:#999;
    font-family:Verdana, Sans-Serif;
}

.PrettyDetailsView .AspNet-DetailsView-OtherPage
{
    padding:2px;
}

.PrettyDetailsView a.AspNet-DetailsView-OtherPage:link
{

}

.PrettyDetailsView a.AspNet-DetailsView-OtherPage:visited
{

}

.PrettyDetailsView a.AspNet-DetailsView-OtherPage:hover
{
    text-decoration:none;
    background:#FFF;
    color:#000;
}

/* --------------------------------------------------------------------------------------------------- */
/* Used when the DetailsView adapter is NOT used. */
/* These styles are used by the DetailsView's skin, found in this theme's skin file. */

table tr.DetailsView-Skin-Header
{
    text-transform:uppercase;
}

table tr.DetailsView-Skin-Row td,
table tr.DetailsView-Skin-Alternating td
{
    border-top: solid 1px #E7E7E7;
    border-right: solid 1px #D2D2D2;
    border-bottom: solid 1px #D2D2D2;
    border-left: solid 1px #E7E7E7;
}

table tr.DetailsView-Skin-Alternating
{
    background:url(bg-fade-light-short.png) repeat-x bottom;
}